Midlife crises are a common plot device in films, TV shows, and books. Like most psychological phenomena, though, they don’t always get it quite right.