Masks aren't 100% effective so being in close contact with someone for such a long time (a haircut for women can take much longer than a typical trim for men) carries a high risk of transmission from an asymptomatic carrier.
I'm trans male, so I've gotten both female and male haircuts. Female haircuts generally took much less time. Put the hair in a ponytail, one snip, tidy up a little. Even a buzz cut takes a little bit longer. It's also much easier to cut long hair yourself than short hair, and people with long hair can go much longer between hair cuts. It took me a while to realize that men's haircut needs to be cut every 2-3 months instead of the once or maybe twice a year I was used to.
Hair dying definitely takes longer, but it seems that can be done at home easily as well.