A Chinese man studying at a Scottish university has been arrested after taking photographs of planes at a US air base.