How I got around this was to write the Variables to the registry in a place the user account had access to. You could also output them to a file and then read them back in your other script.
You'll have to to do something creative to pull that information, as like you've discovered, you can't access the TS Environment when using "run as".
OR... You can pass them in to the script using parameters.
Check out the parameters section, you could pass them in like -OSDComputerName %OSDCOMPUTERNAME% -SMSTSPackageID %SMSTSPackageID