Measurement of the reaction $\gamma p \to K^ + \Lambda(1520)$ at photon energies up to 2.65 GeV