I wish to obtain a polish passport
The quickest path you have to a Polish passport involves living in Poland for at least 4 years. Your best option is to stay with her in the UK for now - unless you have a very good job offer from Poland. You can also live and work in any other EU country provided that she lives there and works there too, but not separately. That includes the UK.