Burnout and a child care shortage can lead parents to take breaks from their careers, risking long-term financial penalties. Here’s what you can do about it.