Optical wave breaking in optical fibres with cubic–quintic nonlinearity