Observing small-scale γ-ray anisotropies with the Cherenkov Telescope Array