Quantum simulation of far-from-equilibrium gauge-theory dynamics