The brief moment was captured on camera, and Pence described the interaction in an interview later, saying he told the president, “Congratulations, Mr. President,” as he extended his hand.