Under indictment and facing re-election, Mr. Adams has turned his attention to the city’s affordability crisis.