MUNICH — When a man was spotted taking photos last October of a U.S. military garrison in a Bavarian town where Ukrainian troops are trained to operate the M1 Abrams tank, it triggered an investigation that led to the first evidence Russia was planning sabotage attacks in Germany, security officials said.