Dynamical stripe correlations in cuprate superconductors