U.S. states have set up insurers to provide protection in disaster-prone areas that private insurance has avoided. They are taking on more risks as calamities become widespread.