Toward combined transport and optical studies of the 0.7‐anomaly in a quantum point contact