Quantum geometry and stability of moiré flatband ferromagnetism