The hacking was first detected in April, but top GOP officials, including House Speaker Paul Ryan, weren’t notified about the attack until Monday, when reporters began asking questions.