High-temperature superconducting nanowires for photon detection