Fourier Representations for Black-Box Optimization over Categorical Variables