President Donald Trump’s nominee for chair of the Federal Reserve faced questions from lawmakers on whether he would stand up to pressure from the president on interest rates.