You can opt out of sending any “Hey, Siri” recordings to Apple.
In regards to the hand washing app, I haven’t read specifically that it all goes to Apple. However, I am inclined to think that it does, and the same opt out will apply, unless Apple stipulates that by enabling the option, the user consents to this, that, and the other legal jargon.