New data shows where homes are most likely to hide costly defects—from failing roofs to crumbling foundations.