Calls for investigation of expletive-laden texts to chief whip over Queen’s funeral before appointment as minister