FBI Director Christopher Wray said Wednesday that the FBI prevented a cyberattack on the Boston Children’s Hospital by Iranian-backed hackers.