A Manhattan federal judge on Monday allowed Michael Avenatti to subpoena the mental health records of his former client, Stormy Daniels, ahead of an anticipated January trial on charges that he had defrauded the adult film star.