On the local-global principle for isogenies of abelian surfaces