Marriott International said on Friday that hackers illegally accessed its Starwood Hotels brand’s reservation database since 2014, potentially exposing personal information on about 500 million guests.