"Nor does it give people the right to commit sodomy in violation of state law."
I disagree with you on that. Rights are really rights if the government can take them away .
The logical conclusion to your argument is that anything that happens in private is legal.
Obviously that's not the case. If murder is illegal even if it occurs in private. Then so is sodomy, if the state declares it illegal. There is no right to sodomy in the constitution.