Now if it's possible to do then obviously some government somewhere will do it (eventually), and no one will notice anything, say it's something that gives you a heart attack, and say we see a spike in heart attacks in 2050, it won't even be that significant since contrarian individuals are few, and just like that after a year the population will be a lot more docile.
It's still a sci-fi scenario now but it's scary to think about what the future will hold.
The main obstacle to your sci-fi scenario is that, to date, no such "contrarian gene" has been identified. In fact, most traits you'd want to genocide away seem tenuously related to particular alleles, at best. Unless we start seeing fanatical HERC2 purists, or the people making bioweapons decide they don't care about collateral in the War Against Redheads, we're probably safe from genetically-selective mosquito-induced heart attacks.