Ecuador's President Daniel Noboa has spent much of the past two years governing on something close to a war footing.