I think you've got that last part backwards. When you have constituents with binding energy, that reduces the total energy of the system and reduces the mass. So it seems that the mass of the proton is quark mass + gluon kinetic energy - bonding energy, and most of the mass comes from gluon kinetic energy.