The daughter of autocratic rulers who lived in a gilded fortress with little care for their people is a fraught heroine on which to anchor a feel-good musical.