Prosecutors are investigating whether the president’s lawyer broke laws meant to prevent covert foreign influence on the government.