The battle over how to teach reading has landed in court