It is not permissible, khalaas. The hadith you have read sums it up quite nicely. Lead your family to the path of siratul mustakeem, the lap of the mother is the first madressah of a child. If every home is in order, with correct islamic teachings there will be no need for any women to lead any nation.