You missed the point. If you treat homosexuality as an medical disorder—then why are you discriminating against them WRT marriage, when discrimination against other chronic or congenital disorders (HIV, cancer, polio, neurological and psychological) is downright illegal?
I mean, two HIV+ individuals can get married even if they're discouraged or choose not to have children—so that throws the whole reproductive purpose out the window.