One in six visits to the emergency department in 2022 that resulted in hospital admission had a wait of four or more hours, according to an analysis.