YouGov chief executive Steve Hatch will step down with immediate effect following pressure form an activist investor.