Measurement of the scintillation resolution in liquid xenon and its impact for future segmented calorimeters