An investigation seeks to determine whether Mr. Bolton illegally shared or possessed classified information, according to two people familiar with the case.