Spatial Heterogeneity and Nestmate Encounters Affect Locomotion and Foraging Success in the Ant Dorymyrmex goetschi