Your desert idea tracks (many of the biggest greenhouses already are) but to keep the majority of the water, you would dehumidify it from the exhaust air. There are systems for this, I saw a couple in NW Mexico when I worked in greenhouse hydroponics in a past life