I have a counter view. I think a parent needs to educate their kids as well. So, while kids may learn about controversial gender topics one needs to be able to have an intelligent discussion on why as a family don’t subscribe to those. Encourage children to have a mind of their own and argue intelligently and hold their ground. It doesn’t come from shying away from public forums.
As to the last point - one of the biggest benefits of exposure to “bad” kids is knowing whom to stay away from and making independent decisions on that. Parents are not going to be around to guide children forever. They need to learn to make their own choices.
Unless you live in a school district that’s really not that great I would never recommend homeschooling. Cloistering into echo chambers is not healthy.