Not sure I understand the analogy. You mean speaking professionally in a professional context is not (should not be?) misogynistic. Then is it not a little strange that you're commenting on a person's haircut, who is not applying for a modeling job for which they're required to cut their own hair?
You seem to be implying that it's not professional to mention a haircut. What is unprofessional about it?
I've had my haircut mentioned at work… because I'd had a haircut. It's people trying to be nice or make conversation, and neither of those things are unprofessional.
I work from home so the only person who remarks on my hair is my wife, and her comments, if overheard, might pass for misandry. I'm trying to forment a Twitter mob against her in response.