Sri Lanka and China have signed a $1.5 billion currency swap deal, the island nation’s central bank said, as it struggles with a major foreign exchange crisis and debt repayments.