hp-wmi: check that an input device exists in resume handler