Making a landmark documentary about LGBTQ Americans before 1969 meant digging through countless archives to find traces of a forgotten subculture.