Exchange effects and the trace of the energy-momentum tensor in weakly bound states