A Brisbane man has lost his claim for discrimination after he was rejected from Queensland Rail’s train driver school because he failed two vision tests.