Losing my career forced me to see just how much I had tied my identity to my job—and why I’ll never do it again.