The shutdown tops the 35-day record from Trump’s first term, as his administration warned of holiday air-travel chaos and threatened Americans’ benefits.