Dynamic Spin Correlations in the Honeycomb Lattice Na2IrO3 Measured by Resonant Inelastic x-Ray Scattering