Terahertz electron transport in a two-dimensional topological insulator in a HgTe quantum well