The Geelong Cup is run and won, with King Charles III's horse Gilded Water beaten at the finish to miss out on a spot in this year's Melbourne Cup.