A Star-formation Threshold for the Escape of Ionizing Radiation from Galaxies