A property of ControlTerminal is Control which gives you a reference to the front panel item.
In your case you would need to change the class specifier constant being fed into the to more specific class to ControlTerminal (GObject > Terminal > Control Terminal) and then get the front panel reference from another property node before getting the label's text.