Australia’s government on Friday joined allies in holding China responsible for a global hacking campaign targeting commercial secrets.