Though I also believe the teacher may be wrong, I also believe that you should also not showing negative feeling to the school in front of your daughter. You should also explain to your daughter that discipline is important. Punishment is normal and is something that can guide her to become a right person. You and your daughter will work together to follow the discipline.
Besides, please do not have prejudges on the teacher. You believe the teacher is acting may just because she hurt your daughter.