Israeli officials said the leader of the United Arab Emirates warned Netanyahu about a possible Hamas attack before Oct. 7, but the alert lacked specific details about the nature of an attack and never reached the chiefs of Israel’s security establishment.