Prospects for gamma-ray observations of narrow-line Seyfert 1 galaxies with the Cherenkov Telescope Array