AI could shore up democracy – here’s one way