An assailant believed to have been dressed in a Santa Claus costume opened fire at a crowded nightclub in Istanbul during New Year’s celebrations, killing at least 39 people and wounding close to 70 others in what the province’s governor described as a terror attack.