General Geospatial Inference with a Population Dynamics Foundation Model