The president has sought Kevin Warsh’s counsel on issues such as how the war in Iran is affecting the economy.