Appeals court rejects Trump challenge of Pennsylvania race