xdg_surface: avoid weston crash while xdg_surface ack_configure
checks the resource and sends a protocol error if the client tries to send a request to an inert object then returns out of the request handler
Signed-off-by: Jeri Li
Edited by Jeri Li