Edited to incorporate suggestions from the comments and responses:
Typically, the definition of a group is as follows:
Definition: If $S$ is a set, $*$ is a binary operation on $S$, and $e \in S$, then $G = (S,e,*)$ is called a group if
(i) $(ab)c = a(bc)$, $\forall a,b,c \in S$ (associativity);
(ii) $\exists e \in S$ such that $ae = a = ea$, $\forall a \in S$ (identity); and
(iii) $\forall a \in S$, $\exists b \in S$ such that $ab = e = ba$ (inverse).
Consider the following definition.
Definition: If $S$ is a set, $*$ is a binary operation on $S$, and $e \in S$, then $G = (S,e,*)$ is called a group if
(i) $(ab)c = a(bc)$, $\forall a,b,c \in S$ (associativity);
(ii) $\exists e \in S$ such that $ae = a$, $\forall a \in S$ (right identity); and
(iii) $\forall a \in S$, $\exists b \in S$ such that $ab = e$ (right inverse).
It an be shown that these axioms imply that every right inverse is a left inverse and that $e$ is a left identity. (Of course, there's nothing special about using right identity and right inverse and that we could also take left identity and left inverse as axiomatic.)
Question 1: In most undergraduate textbooks in abstract algebra I've seen (I realize this is anecdotal), the first definition is used. Is there a reason that authors use the first definition and not a variant of the second one? This seems strange to me given that it is desirable to make definitions as lean as possible.
Question 2: Alternately, are there textbooks that employ the second definition (or a variant thereof)?
This is a partial “frame challenge” answer to your Question 1. You write:
“Leanness” is certainly desirable, other things being equal, but it is not the only desirable criterion for definitions, nor the predominant one. Other important ones include naturalness, comprehensibility, and generalisability; and all these make the standard definition of a group preferable. Looking at a few specific issues:
The standard definition is symmetric. The presentations you suggest introduce an artificial asymmetry in the axiomatisation — of course it still follows that the resulting theory is symmetric, but the axiomatisation hides this.
In examples of groups, we think of the inverses and units as two-sided, because they are. It’s only natural to split up the left- and right-handed versions in examples where they really do diverge. So the standard presentation better fits how we view examples.
As Arturo Magidin’s answer details, the standard definition generalises better when we move to weaker structures — monoids, and so on, where the one-sided and two-sided notions really aren’t equivalent.
These are all a bit subjective, but nonetheless very real and important when choosing a definition.
For comparison, Higman and Neumann (following earlier work of Tarski) showed that groups can be axiomatised using a single operation $x/y$ “division”, and a single axiom: $x / ((((x / x) / y) / z) / (((x / x) / x) / z)) = y$. This is certainly “leaner” than either the standard presentation or your single-sided versions; but is also much less comprehensible, natural, or generalisable. I guess you’d agree that this shouldn’t be given as the primary definition of a group. Your suggestion is certainly much better than this one; but I think most mathematicians would agree that for most purposes, it’s slightly less clear and natural than the standard definition, and so the standard one remains preferable.