Spatial inequality and urban poverty traps