The X-ray emission of Lyman break galaxies