Republican backers ghostwrote a bill that would punish homosexuality with death in Ghana