If your superiors don't consider you training people part of your job then you should either get them (ahead of time) to agree it's part of your job or you should stop doing it.
The thing is it's not always obvious. You don't always spell out how many hours each day you spend training others and so management just thinks you're doing nothing.