Poland’s thriving wind energy industry has warned that it faces bankruptcies, rapid divestment and an end to growth under a bill that threatens executives with prison.