policy-node: do not hold references in link-error handler

Merged Robert Mader requested to merge rmader/wireplumber:issue419 into master

Using si and si_target in the error handler results in references to the objects getting added, keeping them alive indefinitely. Look them up using their ids instead.

Fixes b8201d27

Closes #419 (closed)

Merge request reports