Saudi Arabia agrees to help free Thais hostaged by Hamas