Judy Shelton, President Trump’s nominee to the Federal Reserve Board, told lawmakers that digitizing the U.S. dollar could help maintain the currency’s ascendancy in global commerce.