Mr. Biden hosted his successor at the White House, a courtesy Mr. Trump did not extend to him after losing in 2020.