[PATCH v2 3/4] dinput/tests: Add a helper to wait on HID input reads.