Algae integrated process for resource recovery, metabolite production, and recycling of reverse osmosis reject