Actually, they do not, and you can opt out. I sent mine to private school, and that ended the question entirely.
I understand that there are people around who are extreme in their views, and that their children may be educated in ways they may not approve of. Believe me - they tend to do the same as I did (though I actually did it for academic reasons). Private schools, or home schooling simply replaces public school. It’s not even a socio-economically limited thing people with more money do. I live in a community now where most kids - even the poorest - go to catholic school, and you can bet THEY aren’t getting the material being discussed here.
Bottom line - no. You still don’t get to dictate what other people’s children will learn when, nor should you. There will always be idiots on the planet who do harm one way or another, but you are not so all-seeing or all-knowing that you get to decide for them. The sheer hubris of that position just about blows my mind.