The president himself was out of the office 37 percent of the time in 2023, the most of any chief executive in U.S. history.