A copper mining proposal is at the center of a high-stakes legal and political battle, with billions of dollars in potential metals and national security implications on the line.