As a person who visited SA I know for a fact that even among muslims who have homosexual inclinations, that it's not a problem unless one acts upon it or tries to 'propagate' against the established and accepted moral foundations. Not sure about the specifics of the visit rules tho, but I doubt that they would ask you about that, instead they would ask you about your religion.