Karoline Leavitt's departure highlights the pressures of the White House press secretary role and the challenges faced by previous officeholders.