Fundamental photon orbits: black hole shadows and spacetime instabilities