Triathlete competing for Wales and Team GB after beating cancer