Budget constraints are forcing states that spend their own money on healthcare for noncitizens to scale back that aid, as they grapple with federal Medicaid cuts and the expiration of federal subsidies that helped people buy Obamacare plans.