Third time lucky as Barty eyes mixed medal