Ionization yield from nuclear recoils in liquid-xenon dark matter detection