Ahead of a market debut, the startup’s founders have already committed to giving a substantial chunk of their personal equity to charity.