Children should be allowed to wear the hijab if they so choose, but it’s always hard to separate personal choice from parental choice in children.
Which is why the state should be generously funding extensive school councelor networks in all schools, with the aim to make kids feel safe and supported at school. And if any religious compulsion is reported, the school community and child protective services can intervene.
This kind of stuff you can either frame it as a culture war to be fought with bans and grand stupid gestures or you can treat them as actual social issues that are best approached with investment in community services.