Dynamical diquarks in the $${\varvec{\gamma ^{(*)} p\rightarrow N(1535)\frac{1}{2}^-}}$$ transition