The 4th Amendment has nothing to do with this at all. Period.
Gimme a break!
Following that reasoning, the states would be allowed to enter your home to search for unregistered guns or undeclared income.
The 4th Amendment, as a part of the supreme law of the land, guarantees us that no branch of government, at any level, has a right to violate the privacy of your home without probable cause, usually backed up by a warrant, but always supported by oath or affirmation. Since the Texas sodomy law violated that guarantee, the 4th Amendment has everything to do with it.
I wonder if you would feel the same about state laws that allowed police to enter your home on flimsy hearsay evidence, to search for guns. Regardless of how much you may dislike queers, when you deny them their rights, you open the door to having your own similar rights denied.
I have no respect for queers. They are either mentally or physically sick and they refuse to seek a cure. Even so, I will defend their rights under the Constitution, just as I would defend yours. An attack on the rights of one citizen, even a queer, is an attack on the rights of every citizen. Like it or not, the 4th Amendment, as does the rest of the Constitution, protects all of us equally.