Pakistan has placed Karachi under curfew, adding the country’s largest city to others already facing restrictions after large-scale protests.