Top UK government lawyer pushes ‘revolving door’ as pay gap widens