Writer Nick Green's play deeply honours the experiences of gay men at the end of their lives and the people who care for them