Quasiparticle band alignment and stacking-independent exciton in MA$_2$Z$_4$ (M = Mo, W, Ti; A= Si, Ge; Z = N, P, As)