Quantum fidelity approach to the ground-state properties of the one-dimensional axial next-nearest-neighbor Ising model in a transverse field