Brexit may have changed attitudes to the EU continent-wide, the Polish Finance Minister told CNBC.