It was also well known and not disputed that it was wrong. Numerous sources from ancient Judaism reject homosexual relations. There was no debate in Jesus’ time and thus it was probably never an issue or question that was posed to Jesus. If Jesus wanted to challenge this aspect of Jewish theology, he most certainly could have done so.
Jesus does, however, say quite clearly that God created man and woman for each other in marriage (Matt. 19:4-5). The only time Jesus mentions sexual activity as part of God’s plan is within the marriage of a man and woman.