Prospects for Gamma-Ray Burst detection by the Cherenkov Telescope Array