egl/wayland: use the destroy_window_callback for swrast