Lawyers who work in Latin America are navigating a geopolitical minefield as Chinese entities harvest a growing amount of critical minerals such as lithium from the region.