URigVMNode::GetParentPinCategory

Returns the parent pin category of the given category (or an empty string in case there's no parent)