Add compare callback for ws_wayland_obj
Use the ws_object_cmp() function in the compare callback for the libreset interface