Called “The First Homosexuals,” the show is about a time when the art world released a flood of new representations of same-sex desire.