[PATCH 5.4 110/214] ACPI: button: fix handling lid state changes when input device closed