The short answers are: (1) yes, this fulfills my definition of a "guest lecture" (that being you were invited by the module or subject leader and that you delivered a lecture) and (2) yes, you should include this in your CV.
Let me explain. I've chaired departments and academic units before and have been involved in hiring decisions. Academic jobs outside of a research fellowship often require responsibilities in three broad areas: (1) research, (2) teaching and (3) administration/service. It is often the case that quite a lot of emphasis is placed on research skills and with good reason. However, teaching is also a skill. Having been a guest lecturer signifies to me that you've garnered some experience in the delivery and assessment of a topic of instruction.
You might even find that you've got the knack to teach. Perhaps students respond to you, or you might have the ability to explain difficult concepts in a way that is easy to understand, or you might simply enjoy the experience. Guest lecturing is the start. You can expand this by co-teaching a subject or module, leading a module yourself, then leading an entire degree program. This is the typical expectation of PhD students, Assistant Lecturers, Lecturers and Senior Lecturers in a number of universities in which I've worked.
If you have the opportunity, I would encourage you to expand your involvement in teaching and administration. Not only will it round out your skills as an academic, it will give you a taste of duties that you will be expected to fulfill should you choose academia as a career.
Good luck to you.