Aslef said a driver was unfairly dismissed after raising a safety issue at a meeting, a claim the company denies.