In his new memoir, Frank describes how early in politics he feared people would “draw inferences” that he was gay if he supported gay rights. But his drive to fight discrimination was stronger.