waylandsink: add unlock and unlock_stop functions
To avoid mutex starvation for eg. the thread doing a state change on the sink element, we need to use the unlock functionality. When unlock the render thread will be forced to let go of the preroll lock and the thread doing the state change will not starve by the preroll mutex.