The GSEs’ regulator heard testimony on the risk climate change poses to Fannie, Freddie and the broader housing market.