With male runners, doping would stilll be a factor, but there is less headroom for manipulation. You can't dope someone into arbitrarily high performance, and if you could, other physical characteristics wouldn't matter at all, which is clearly not the the case becasue we don't constantly see short, fat dopers popping up in elite contests.
Don’t know if it’s anywhere on the Internet but I remember an East German trainer saying something along the lines of: “It’s much easier to make a man out of a woman than it is to make a Superman out of a man”, all this in relation to East-Germany’s official doping policy. So I’d rather trust a professional in this matter (the East-Germans were truly the masters of doping) when saying that it is indeed easier to artificially increase the performances of female athletes compared to male athletes.
Not to end it all on a pessimistic note, there are also “happy” cases of naturally gifted athletes being at the right time and at the right place in terms of external socio-economic factors. The latest such example is the recent Tour de France winner, 22-year old Bernal, who won the Tour on its highest stage which I think reached 2700 meters, while he himself was born and grew up at 2800 meters of altitude. But he also won the Tour because he is a member of the infamous British team Ineos (the former Sky), which also gave the winner of last year’s Tour, Geraint Thomas, a guy born and bread in seaside Cardiff and who until last year’s victory had never had a Top 10 finish in any of the big 3 tours. He’s 32 now, if I’m not mistaken, cyclists much greater than him (like Pantani or Ulrich) were basically lynched by the public opinion for doing less egregious stuff (they at least were talented at climbing).
Which goes to say that no matter which genetic advantage you might have at birth there’s nothing that the socio-economic factors cannot surpass. In this particular case the socio-economic factors were very much in favor of an American runner being allowed to win an Olympic Games race while being doped, and that happened because the US is a huge market for all the athletics/related producers and almost all of the Olympic Games sponsors.