Is gay rights a foreign or domestic policy?

Depends on which rights you're talking about. Most rights denied to gay people are domestic rights, but a few are related to foreign policy.