I think the fact that teaching is a female dominated area is one reason that pay for teachers is so low, but honestly, I think the USA has gotten some very mixed up priorities when it comes to the whole education sector.
I should probably start by saying that I'm an Australian teacher, and I often travel and teach in other countries (so far all in Asia). As such, I'm in an excellent position to compare Western standards to Asian when it comes to education.
First of all, most countries (including the USA) require teachers to have a university degree. So your comparisons to things like plumbers and electricians are not relevant.
I've also seen a lot of people's answers on here referring to teaching being a cushie job, and you either have really crap teachers or you just have no idea of the work that's involved. Yes, teaching is officially a 40hr a week job. But you add onto that all the planning involved, the marking and the resource production and it's a massive job. At my last school, over the five different classes I taught I had well over 250 students. Until you've had to mark over 250 1000 word essays in less then a week YOU HAVE NOT KNOWN PAIN! Ok, I might be a little dramatic with that. But you get where I'm coming from. It's not unusual for me to still be up at 2am marking papers when I have to wake up at 6:30am to get ready for school.
The low payrates for teachers in America isn't just hurting women, it's hurting your entire country because when I look at places I want to teach; America is at the bottom of the list. From all reports, teachers in America get no respect whatsoever. They're seen as lazy and unqualified, and so no one cares when people hear that they don't get paid much. But as a result, a lot of smart motivated people do NOT want to go into teaching there. And as a result of that, you end up getting a lot of teachers who really are lazy and unqualified because it was an easy job avenue.
In some countries in Europe, it takes 8 years to do a teaching degree. In Japan teachers are given regular tests like the SATs in order to make sure that all teachers are up to standard. These countries want quality teachers in their schools and the teachers are paid accordingly. Their educational standards are miles above the USAs, all because America is not valuing it's educational system. You need to pay what something's worth. If you want good teachers, you need to pay for good teachers!
So in answer to your question again, yes. I think that the reason teachers don't get paid enough in the USA probably is at least in part attributed to it being a female dominated profession. People think it's easy, that anyone can do it. And as a result, anyone DOES do it. But you don't want just anyone being a teacher. You want the people that genuinely want to be teachers and will put the work in.
Bad pay for teachers doesn't just lower the pay average of women. It lowers the educational standards of the entire country and will result in the USA slowly falling behind the rest of the world.