After 20 years at Goldman, the bank’s former co-head reflects on being gay in the sector’s macho world, embracing technology and how life is far from dull in retirement