A film about political polarisation has won the festival’s top prize – a fitting choice given the temper of the times.