Extreme downpours and droughts, both fueled by rising global temperatures, are taking a toll on water infrastructure. Communities trying to manage the threats face three big challenges.