active link for most recent post on vertical tabs

WP_Query provides current_post property inside the loop which starts from 0. So if you want to target first post in the loop you should just check if $the_query->current_post equals 0:

if ( $the_query->current_post == 0 ) {
 echo 'is_active';
}