I don't see how this is discrimination at all.    Married heterosexual couples might not be able to have kids because their plumbing doesn't work right or whatever.

Same sex couples cannot have children because two males or two females are physically incapable of reproduction.

We're talking apples and oranges here.