monitor-manager-xrandr: Fix small leak for invalid properties

If the property is invalid, then we leak the allocated buffer. Make sure
to free it in this case.
prefs: Don't leak the variant value for unknown properties