1. It doesn't matter much whether you treat hydrazine as a hydride or not.
2. It is quite correct to treat it as an analogue of ammonia, just with N-N bond. As ammonia is usually treated as N(-3) H(+1) nitrogen in hydrazine would be (-2).
But as oxidation numbers don't reflect any real property of atoms in molecules, and there is some liberty in assigning them, whole discussion is a moot.