Linearly-invariant families and generalized Meixner–Pollaczek polynomials