klipper: Make sure clipboard is set before hiding applet
Otherwise we can trigger a race where our window is destroyed but still think that we have focus. Hiding is moved from the delegate to the page because the job changes the model, the delgate wil have no engine anymore and accessing the Plasmoid attached property will crash. BUG:462979