Recovery of water and acid from leach solutions using direct contact membrane distillation