In the Synoptic gospels, Jesus quotes these words from Genesis 2 in the context of whether divorce should be condoned. For cultural reasons, only opposite-sex couples were married in Judaism, so Jesus bases his prohibition of divorce on that circumstance. It is mischievous rhetoric to misinterpret the words to imply a condemnation of same-sex relationships.

The historical Jesus likely had the same prejudices against such relationships as his Jewish contemporaries, but who knows?, he held a number of surprising counter-cultural opinions. And he foresaw very little, actually, since he was a true apocalyptic, and expected the arrival of the Son of Man at any moment.

The Jesus of the gospels says nothing about LGBT issues and rights at all, though he says plenty in general that ought to give us a firm moral foundation for treating LGBT people with justice, peace, and love.