High-resolution measurement of hypernuclear events in a nuclear emulsion with hard X-ray microscopy