Yeah this one I am probably going to depart a bit from the left consensus, no, I don't agree with this, much like gun rights for example and property rights, abortion of a philosophical level not legally.
I am going to have to say even as much as I hate what some children or taught, or what some parents refuse as a part of their children's education this is going to be one where more overall I am an advocate for parents rights over the state or society.
Some exceptions though for instance on vaccines, I think those should be forced, because that extends beyond the parents and the child and goes to harm, and abused obviously. However what a child learns or doesn't learn with some pretty wide range of liberties, it is my contention that parents rights should supercede that of the state or any other, especially in matters of sex education.
Although personally if it were my kid, I wouldn't give a shit, because whatever they are exposed to or learn, even if I disagree with. That can be countered and the values I would like for them to have reinforced through time and my own efforts. Once a child has reached the age of adulthood, then they can decide and choose for themselves.