The name "Leo" comes from the Latin word for "lion", and the constellation is often depicted as a lion. But the lion is a symbol, not a literal being.
Constellations are just patterns of stars that humans have given names and stories to. They are not people, animals, or any specific gender.