Nearly 325,000 people could be affected by an eruption of Cotopaxi, the volcano looming beyond the Ecuadoran capital of Quito, officials say.