Suppliers can go after homeowners if a contractor doesn’t pay them, but there are ways to protect yourself.