Tunisia’s president named a geologist with little government experience as prime minister on Wednesday amid a crisis over his seizure of sweeping powers and dire threats to public finances.