Officials said the aircraft was “acting aggressively” when it approached the USS Abraham Lincoln, which is in the Middle East amid tensions between Washington and Tehran.