Tories accused of attempting to ‘gag’ opposition parties in North Yorkshire