Before getting to the answer of how the dragon got out of the mind trap, Luxuria takes a moment to mention how its her crystals that inhibit magic. That is her contribution to The Shadow of the Sun.
Luxuria stops when an unexpected reaction happens. Dragons don't cry.
She investigates and comes to the conclusion that there's a human in there and that that changes a great many things.