Const the LX_EVENT to handle_xevent, to match liblx.