The Presidential Records Act “does not provide a pre-trial basis to dismiss” the charges, the Trump-appointed judge ruled.