His margin of victory over Vice President Kamala Harris in the national popular vote — 1.5 percentage points — is the smallest of any president who secured a popular-vote win since Richard M.