Spontaneous spin-loop-current order mediated by transverse spin fluctuations in cuprate superconductors