New research shows that persistent job dissatisfaction is more than just a career hurdle—it can seriously impact your health by age 40.