Direct Detection of Dark Photon Dark Matter with the James Webb Space Telescope