HM Revenue & Customs collected record amounts of capital gains tax in 2019-20, a trend which is predicted to continue.