Sustainable Electrochemical Extraction of Metal Resources from Waste Streams: From Removal to Recovery