Trump said he would take ‘all lawful steps’ to close the Education Department, but the White House acknowledged only Congress can do so.