[Linux] Fixed poll() in libinput event loop