There’s a difference between “gay” and bisexual. If an individual is bisexual, then he/she can be attracted to members of BOTH genders.
“Women are not obliged to wear hijab in front of gays?”…If you follow the rule/principle that you shouldn’t show your hair to non-mahram males…then what is the confusion here? Whether he is gay or not doesn’t matter…if he’s a guy that is not your immediate relative…and falls into the non-mahram category…then you cover your hair. I don’t do hijab, but at the same time…I don’t recall any exception to wearing hijab around non-mahram men of various sexual orientations.
A person (male or female) can stare at one for various reasons. It might be due to attraction…but then again…it might be some other reason. If you are that bothered by this guy’s staring, then you have the option of either ignoring him or talking to him about it. You can nicely say, “Excuse me, but I’ve seen you looking at me several times and it’s making me feel a bit uneasy. Is everything okay?” If you don’t plan on talking to the guy to solve the problem, then you might as well ignore it.
How do I deal with gay males? If they respect me, I respect them. One does not have to agree with another’s opinions/views/lifestyles to be respectful and courteous. Homosexuality is not a lifestyle I condone, but as far as interacting with people is concerened…there is more to an individual than their sexual orientation. One might differ in that regard…but as human beings…we are all similar in many ways because we have the same basic needs.