Duality-invariant nonlinear electrodynamics and stress tensor flows | Synapse