Inner jet kinematics and the viewing angle towards the γ-ray narrow-line Seyfert 1 galaxy 1H 0323+342