Evolution of cancer cell populations under cytotoxic therapy and treatment optimisation: Insight from a phenotype-structured model