Technology used in the medical field for years may soon revolutionize screening of carry-on bags at airports — bolstering security while dramatically cutting bottlenecks at checkpoints — with an expansion of testing planned for New York’s John F. Kennedy International Airport early next year.