x11: scr: fix lidstate detection