Text this: Analytical Derivation of the q-Factor for Slender Masonry Structures Under Out-of-Plane Seismic Action