An invisible barrier is keeping many Americans from getting ahead—the midcareer stall.