The High-Excitation Planetary Nebula NGC 246: Optical and Near-Ultraviolet Observations and Two-dimensional Numerical Models