Nigerian official held over alleged ties to Boko Haram