Nuclear relaxation in a one-dimensional triplet-exciton system