scene: stricter assertions on reparent
scene: stricter assertions on reparent

For consistency with the rest of the scene-graph API, prevent detaching
a subtree by giving NULL for the new parent, and don't allow ROOT nodes
to be grafted into another tree.

swaywm/wlroots,SirCmpwn/wlroots,swaywm/wlroots