The court rejected the company’s position that federal anti-age discrimination law does not cover job applicants.