Security forces detained the daughter of Sudanese opposition leader Sadiq al-Mahdi on Wednesday, her family said, as anti-government protests spread to the capital’s main university.