The CTO of Carta alleged 'problems with the culture' at the $7 billion startup. Now the company's suing him, accusing him of corporate espionage and inappropriate sexting.