Spectral gap in a Markov energy exchange system motivated by deterministic heat conduction models