Story of lut has numerous interpretations, Ive read many arguments that state that the story was condemning the men who were trying to forcefully rape lut.If you also read hadiths on homosexuality is states that men shouldn't look at clean shaven men as that's the same as looking at a non muharam women.Homosexuality is condemned in the Qur'an several times. Go read about the people of lot in the Qur'an