A groundbreaking, global survey of queer art, featuring more than 300 artworks made following the introduction of the term 'homosexual' in 1869