The ECB’s plans to build a payments system on distributed-ledger technology could lead to the issuance of a digital euro.