Roughly $22 trillion worth of homes are now at risk of damage from flooding, wildfire and other effects linked to climate change.