Spin transport in a tunable Heisenberg model realized with ultracold atoms