Teachers are only one factor (students themselves are the other), and neither MA nor WI are winning the cost disease war - both states have slid with the rest in the last decade since 2013.
We would need to compare private vs public schools but those could easily be more about the students than the teachers.