The Security Challenge of Bitcoin Layer-2 Protocols