The company board has lost confidence in Gelsinger’s turnaround plan and told him he could retire or be removed, a source says.