Your girlfriend is her own person and can independently decide to do things. Being in a relationship does not mean you have to do everything together. Unless you have agreed as a couple not to attend parties separately, it is okay for your girlfriend to go to one without you.