Lady Morgan losing her seat marks the first time a sitting Welsh leader has lost an election in the Welsh Parliament.