Fix ownership of SlideInterface

Similar to other interfaces, the lifetime of the SlideInterface should
be bound to the associated resource.


(cherry picked from commit 226dac70)
1 job for Plasma/5.23 in 8 minutes and 2 seconds (queued for 7 seconds)