The fast-rising number of desalination plants worldwide—now almost 16,000, with capacity concentrated in the Middle East and North Africa—quench a growing thirst for freshwater but create a salty dilemma as well: how to deal with all the chemical-laden leftover brine.