Part of your question is unclear -- your hypothesis said that "for any two distinct points there is a unique geodesic line connecting them," and then you asked if these geodesic lines are length-minimizing. Ordinarily, I would think a "geodesic line" would mean a geodesic defined for all time and without self-intersections; but it could also mean simply a geodesic defined for all time (such as great circles on the sphere), or even a maximal geodesic (such as the maximal geodesics in the unit disk, which are just portions of lines). On the other hand, the term "length-minimizing" usually applies to a geodesic segment, that is, a geodesic defined on a closed, bounded interval.
For definiteness, I'll interpret your question to mean the following:
Suppose $(M,g)$ is a Riemannian manifold in which
- all geodesics can be continued for all time, and
- every pair of points can be connected by a unique geodesic segment.
Does this imply that each geodesic segment is length-minimizing?
With this interpretation, the answer is yes.
The fact that all geodesics can be continued for all time means that $M$ is geodesically complete. It's then a consequence of the Hopf-Rinow theorem that every pair of points can be connected by a length-minimizing geodesic segment. Since you are assuming that every pair of points can be connected by a unique geodesic segment, that segment must be length-minimizing.