I'd rather teach my child not to listen to everything the teacher says and get a good education, than have a shitty public school education. I won't send my child to public school, I'll find a way to avoid that when I have a child, if I have one.
I'd probably send him to a non-religious private school, if I could, until he's old enough to comprehend the basic ideas of most religious beliefs.
At that point, I'd ask him to consider, and offer him a chance to share his opinion. If he didn't want to, I'd have no problem. If he wanted to, I'd gladly send him there.
And like I said, I'd teach my child to do what I would do--respect the teacher's words, but then form your own opinions.
If I ever found out the teacher was enforcing an ideology that my child didn't agree with, I'd deal with the teacher face to face, and/or pull my child out of the school.