A United Nations spokesman said the character’s role at the 193-member state organization would end on Friday despite plans for Wonder Woman to be used in an empowerment campaign for women and girls into 2017.