FTX stored private keys to wallets holding "hundreds of millions" of user funds without encryption, court document reveals.