Back in 2009, Jim Kennedy, a consultant and entrepreneur of rare earths — a group of 17 metallic elements, including 15 lanthanides, crucial for modern technology — met with a top official at the Pentagon to discuss the future of these precious minerals. “He was almost indifferent to the issue,” Kennedy tells The Post. “His…