In terms of technical hashkafa, if you have someone who suffers from these issues but is not acting on them, I think it's pretty clear that they should be treated like anyone else. Probably respected for their struggles.
The question is in terms of public policy. It's very difficult to publicly have acceptance for the people with these struggles without also showing some level of acceptance of the lifestyle. Or in other words, if a person feels the need for this desire of theirs to be public, then they're making a statement that it's not just a desire that they have, but rather a part of themselves that they want to be publicly accepted for.
As you say, the issue is given that atmosphere, what happens if a person's private struggle, which they're working to keep private, somehow becomes public? It's a very difficult line to toe, and I'm glad the responsibility for those kinds of decisions doesn't fall on my shoulders.
In comparison to depression, of course, there's generally no "treatment." You cannot cure someone of being gay. And you're definitely right, that
Imagine knowing that you will never in your lifetime be allowed to have a satisfactory sexual experience. That must be devastating to a person.
And in a private way, it needs to be dealt with sensitively. The problem is that there's no easy answer, no simple solution For people in that situation, it means a difficult struggle. Then again, none of us were created to NOT struggle, although theirs is different than most.