[RFC] Refactor the compile_engine to expose a Relay -> TE translator

@Hzfengsy @spectrometerHBH I’d be interested to hear your thoughts on this as I imagine it could have some overlap with the work you’re doing on TensorIR.