Identification of a new γ-ray-emitting narrow-line Seyfert 1 galaxy, at redshift ∼1