Test beam measurements of an irradiated prototype pixel sensor designed for the CEPC vertex detector