U.S. authorities accused a Chinese national of providing malware linked to theft of millions of state workers’ records.