Actually the Luna is still in service and is listed as having had an encounter with Q in Q&A.
No, that's an incorrect entry on Memory Beta.
Q & A refers to Q being encountered "on Luna," not "on
Luna." Luna, unitalicized, means the Earth's moon, the one the starship was named after.