Electrodialytic Hydrogen Production and Critical Raw Materials Recovery from Secondary Resources