Ashen and emotional, Mr. Sessions told the president he would quit and sent a resignation letter to the White House, according to four people who were told details of the meeting. Mr. Sessions would later tell associates that the demeaning way the president addressed him was the most humiliating experience in decades of public life.