This Pew poll is a bit older. But “teacher led prayer” is also narrower than all the things the Supreme Court has banned.
Also, the court case was from the 1960s, so it’s been contrary to public opinion a long time.