One child was detained and released after police investigated reports of someone with a gun at a Las Vegas middle school after a social media threat, officials said.