Um, let me quote that truism: dogs come when called. Cats have an answering machine.
Ask me how I know…
Willy will do whatever he damn well pleases, water pistol or not. Some cats are smart enough to make the association you want - that playing with the blinds is naughty and will get you wet, but others won’t, and the casual flick of the tail, a sign of high annoyance, will ensure.
If the association is made between the human and the unwelcome squirt, rather than the blind activity and the squirt, you have sadly failed in cat psychology.
If the blind triggered an automated squirter or unwanted trigger such as a high pitched noise without your delayed and observable reaction, the immediate connection to you as a hated intermediary would not be made.
Maybe a laser/infrared light fence defined in a small pseudo rectangular vertical box shape that is the size of your blind might be an option (a virtual geo-fence outlined with a light beam). One light emitter, one light sensor, and multiple mirrors reflecting the light path around the area, and detect for beam breakage to trigger the buzzer/screamer. Break that beam will soon define a no-go zone. This would be far narrower than a custom movement detector using ultrasound or laser.
A RFID chip solution with a short detection range of about a metre may also be used to define a no-go area centred around the window blind. You may even be able to detect the micro-chip he should already have embedded when he was registered (obligatory in a lot of countries).
Of course if your cat is too dumb to learn - some are - upgrade your cat or just don’t bother with blinds. Get a LCD glass window and darken electronically. Yes they are available and possibly just as expensive as regular visits to a cat psychologist for Willy, combined with human psychologist for you!
Free Willy? Make him an outside cat might be a cheaper alternative. Blinds will then not be relevant, and hunting, something cats need to do to reconnect with their nature, will become his primary focus, rather than being entertained by moving blinds.