You could say "Your partner seems like a very nice person. How did you meet?" If he wants to talk about his sexual orientation, and how his life-style changed, he'll do so. Complimenting a gay person about their partner is no different from complimenting a straight person on their choice of a mate. Just be honest and matter-of-fact about it.