So if a doctor were to tell you "Sorry, but you have a x-% chance of passing on genes to your offspring that, under certain conditions, may make them more susceptible to this-or-that medical condition, so by state law, we have to make you infertile", you'd be OK with that?
On a personal note, as someone who wouldn't have been born if such a eugenics program were to be instituted (Judging by the only historical precedent for such a thing we have, Nazi Germany), let me just say that you're a moron who should never be allowed anywhere near a position of influence.
Now, as Batman said, if a cure was developed that would remove these risk factors, I'd be completely behind the idea of rolling it out, but telling people "Sorry, you can't procreate, you're a risk to public health due to your offspring being more susceptible to the common cold" is such a massive dick move, it's not funny.
Except the exact genes involved in many heritable disorders are unknown, and using gene therapy without consent violates human rights anyway.
And you're willing to sterilize people on the basis that their offspring might be more vulnerable than the norm. Tell me what is worse.