Motion-dependent magnetic properties of excitons in CdTe