Coupled Particle Transport and Pattern Formation in a Nonlinear Leaky-Box Model