In the Amazon, Brazil has made huge gains in its battle against deforesters, but it is increasingly losing ground to another threat — climate change. Amid pervasive drought this year, the number of wildfires has hit a 20-year high, official figures show.