This Pride Month, we look at two 20th-century writers who faced a backlash for writing about homosexual desire and ask ourselves if we have become more open-minded now.