Collimation, Acceleration, and Recollimation Shock in the Jet of Gamma-Ray Emitting Radio-loud Narrow-line Seyfert 1 Galaxy 1H0323+342