The Donald J. Trump Foundation will shut down and distribute the money it has left to charities approved by the New York state attorney general, while the state’s lawsuit against the president and his three oldest children alleging violations of state laws governing charities proceeds.