The union agreed to a tentative five-year contract for hospitality workers at Wynn Resorts about three hours before the this morning’s strike deadline, union officials said.