Nope, picking the best candidate regardless of their skin or sex or height or religion or other irrelevant characteristics is the only right choice.
Naturally trends in those categories will tend to adhere to their representation in society. If there are more tall white males pursuing political positions, than the best option will tend to be a tall white male.
And that shouldn't matter.