The household income of its residents is the most important factor in whether a community has high or low rates of avoidable hospital visits — conditions that could be better managed in a doctor’s office or other health care settings if treated at an early stage, according to a report.