Has it not occurred to anyone that there are so few female pilots in commercial aviation because it's a profession many girls/women just don't want to enter.
By comparison, medicine (my profession) and teaching have a very high ratio of women to men, in fact, in my wife's school, there are no men teachers at all. That's nothing to do with discrimination it's everything to do with the fact that everytime a suitable vacancy arises no men apply.
We live, or should live, in a meritocracy; gender, race, religion has nothing whatsoever to do with the best-qualified person getting the job commensurate with those qualifications