In “How We Named the Stars,” a young, queer student in mourning recounts the tale of a pivotal romance.