States are responding to a rise in high-profile squatting cases, in luxury homes and public housing alike.