There is a switch next to the Matte color button. With that off & a transparent canvas, Affinity Photo exports a PNG with a transparent background even if I set a matte color by tapping on the Matte button. After exporting, the Matte color button returns to white -- any color setting made with the Matte button is not saved. (I am fine with that.)