Routing quantum information in spin chains