The SCUBA-2 Cosmology Legacy Survey: the submillimetre properties of Lyman-break galaxies at z=3-5