ConnMan: Fix build issue

service.h is a dependency for net-connection-editor.c.
ConnMan: Do not use depricated API

gdk_pointer_ungrab is depricated. Using gdk_device_ungrab instead.