Ecuador, among the world’s most biologically diverse countries, also holds enormous reserves of oil, copper, gold and other minerals. Global markets want them. Multinational companies are itching to dig. And a cash-strapped government is eager to sell. The legal battles are intensifying.