Sir Keir Starmer is being investigated by Durham police after having a beer with Labour colleagues after a day of campaigning.