Position-dependent local detection efficiency in a nanowire superconducting single-photon detector