A departing Goldman Sachs Group Inc. employee mounted an unprecedented public attack on its “toxic and destructive” culture in a New York Times opinion piece, becoming the first serving insider to openly criticize the firm.