China sanctioned a pair of banks in the EU, fulfilling a promise to retaliate after the bloc targeted some Chinese lenders over Russia’s invasion of Ukraine.