Fixed segfault in ws_monitor_publish

This was a misunderstanding (due to no documentation) and it seems that
monitor->resource will only be created once a client requests it, this commit
removes it from the compositor module.