A external cyberattack targeting the huge Los Angeles Unified School District over the Labor Day weekend prompted an unprecedented shutdown of the district’s information technology systems as authorities scrambled to trace the perpetrators and restrict potential damage.