Wealth distribution and collective knowledge. A Boltzmann approach