“I heard my own voice and realized my own truth,” said Louise Pentland, who is stepping down as PayPal’s top lawyer.