Dante wrote about it centuries before psychologists named the midlife crisis. Today’s millennials are finding their own version of the dark wood