FireEye, a security firm, reported a sharp decline in Chinese hacking even before the White House completed an agreement with China to curb cyberespionage.