tests: wl_shm, use wit_client_init

Replace manual setting by wit_client_init
tests: wl_registry, clean code
tests: wl_pointer, add comment