A kinetic model of non-equilibrium grain-boundary segregation