The election comes as Ecuador grapples with the health and economic consequences of the coronavirus pandemic.