Modified spin-wave theory with ordering vector optimization: Spatially anisotropic triangular lattice and J1 J2 J3 model with Heisenberg interactions