[lipstick] Make a copy of retained selection

The retained selection was inappropriately passing the compositor's
mimeData pointer to QClipboard, leaving the possibility for the object
to be get deleted twice.