The majority of voters in Poland’s general election supported opposition parties that promised to reverse democratic backsliding and repair the nation’s relationship with allies, including the European Union and Ukraine, near-complete results showed Monday.