Welcome back to the Wefugees community and thank you for reaching out to us.
As far as I know and as I also read here, only German citizens are allowed to vote in Germany. There is an exception for EU-citizens in local elections though. Unfortunately, third country nationals are excluded from elections in general. Maybe you can talk to the office which sent the invitation for the purpose?
All the best,