Constraints on cosmological dark matter annihilation from the Fermi-LAT isotropic diffuse gamma-ray measurement