Hundreds of supporters of Mozambique’s opposition protested as the country inaugurated a new president following disputed elections and deadly unrest.