X-RAY PROPERTIES OF YOUNG EARLY-TYPE GALAXIES. I. X-RAY LUMINOSITY FUNCTION OF LOW-MASS X-RAY BINARIES