Lithium prices are rising as demand for the key ingredient in electric car batteries grows, amid a broader push to move away from oil and gas. But the extraction of the metal is time-consuming and potentially harmful to the environment, and plans to produce more have prompted protests.