scripting: Fix setting resolution independent panel configuration
Certain configuration keys are treated as resolution independent and PanelView::restore() uses config().parent() for reading/writing them. Mirror that in the scripting wrapper for panels so that the configuration is written in the right place for the PanelView to pick it up.