Learning Regionalization within a Differentiable High-Resolution Hydrological Model using Accurate Spatial Cost Gradients