JK Rowling first mentioned Dumbledore being gay on the fifth film’s script because the film wanted to make him explicitly straight.
That is literally the opposite of adding a character to make people ‘shut up’ or to ‘win points.’
It was a side note, on a film script, which someone took a picture of and publicized.
Yes. Dumbledore has always been gay.
And you know what?
Not all gay people have to be in a current relationship or be flirting or interested in anyone at all.
Dumbledore is gay, whether he is in a relationship or not. Whether he is interested in anyone or not. Whether we knew or not. Dumbledore will still be gay.
And besides, if my last lover turned into the nearest dark lord and I ended up the person finding morals and personally locking up my beloved for a life sentence, I’d probably give up on romance for the next 50+ years, too.