pipewire-object: fix memory leaks when getting properties

2 jobs for memleak-fixes in 1 minute and 17 seconds (queued for 2 seconds)