A longtime aide resigned, and Adams’s mayoral run looks cloudier than ever. But Trump may come through for him.