The United States saw an 18.1 percent increase in homelessness this year, a dramatic rise driven mostly by a lack of affordable housing as well as devastating natural disasters and a surge of migrants in several parts of the country, federal officials said.