If by "President" you mean the equivalent "head of a country's government" role then Iceland elected an openly gay Prime Minister in 2009[0]. But I'm guessing you're all meaning "US President"
That's neat! You're right, though, the OP was likely focusing on a US president. Not many US citizens look at other countries' heads of state as a role model to the same degree as our own.