Zero-knowledge proof startup RISC Zero has raised $12 million to build a scalable blockchain in a round led by Bain Capital Crypto.