Detecting Stochastic Wave Dark Matter with Fermi-LAT $\gamma$-ray Pulsar Timing Array