Time-resolved buildup of twisted indirect exchange interaction in two-dimensional systems