Trials are underway on smartphone technology that stores travelers’ test results and vaccination status.