Rare earth element enrichment using membrane based solvent extraction