add explicit inheritance to loxi input files

Reviewer: @andi-bigswitch

LOXI previously inferred inheritance from the prefix of the class name. Those
functions still exist, but it's expected the python and java backends will use
the inheritance tree to generate deserializers, etc.