The Evolution of Foraging Rate across Local and Geographic Gradients in Predation Risk and Competition