Reconstructing the Triaxial Shapes of Dark Matter Halos from the Anisotropic Spatial Distributions of their Substructures in the Concordance Cosmology