ISLAMABAD, Pakistan — The Pakistani government blocked access to the social networking service Twitter on Sunday, after publicly holding Twitter responsible for promoting a blasphemous cartoon contest taking place on Facebook, officials said.