Montenegrin authorities detained a suspect linked to one of the largest cyberattacks on American financial infrastructure in what US officials describe as a major breakthrough.