The wife of New York City Mayor Zohran Mamdani has apologized for what she says were “harmful” social media posts she made as a teenager