who was the king or troy during the trojan war?