Low-mass X-ray binaries in globular clusters: A new metallicity effect