Add the below snippet to wp-config.php to stop Contact Form 7 from auto-generating p tags.
define( 'WPCF7_AUTOP', false );