The Bank of England sought to bolster the financial industry’s defences against cyber-attacks on Tuesday when it unveiled a new framework to spot and test possible weak points at lenders.