Bitcoin’s record-breaking rally is rekindling hope that the digital-ledger technology that underpins cryptocurrencies will revolutionize everything from recording the ownership of houses to bonds.