Cherenkov Telescope Array extragalactic survey discovery potential and the impact of axion-like particles and secondary gamma rays