(I guess it would be almost safe to count Benazir Bhutto, Prime Minister of Pakistan in 1988-90 and 93-96, as a monarch...)
Women have made up 50% of the population of Homo Sapiens for the entire age of our species. Literally for hundreds of thousands to millions of years. And it is literally in our lifetimes (give or take maybe 30 years) that the first woman is made the elected leader of a country?
I wrote my reply with my tongue firmly planted in my cheek, but when you get right down to it, it is phenomenally unlikely that we live at such a moment of change.
And of course if you remove the "elected" condition the whole phenomenon is quite unsurprising since power was often taken by force and men tend to use force to acquire power more than women.
You're also incorrect about the reasons for pay gap, and also incorrect it's due to different jobs. The pay gap occurs at people doing the same job with the same skills. The reason has to do with things like taking leave from work (gaps in employment) and being less likely to negotiate salary as aggressively.
https://en.wikipedia.org/wiki/Sirimavo_Bandaranaike
Or the UK almost 40 years ago.
Or Germany 11 years ago.
:)