You will need to clear Canada Customs claim your bags and then check them in for the CX flight. No need to transfer terminals as you noted, since they operate from the same one just different sides. If you have lounge access CX uses the BA lounge just past security.