It doesn't work with protect unless it's a max move or z move sorry
Also you can't z/max move your own teammate I tried that before.
WP only triggers when it is hit by a super effective move and it lands, so it can't miss either. It also has to be a damaging move, so you can't taunt gengar and get WP