A class action complaint filed in a federal court in Boston on Tuesday alleges the multinational aerospace and defense conglomerate RTX Corp. discriminated against older job applicants and refused to hire workers for positions unless they were recent graduates.