Get largest page id by title?

By using wp_query you can have more control:

$title = "your title"
$q = new WP_Query (array(
            'posts_per_page' => 1,
            'title' => $title,
        ));

And then you can iterate through, but because we used posts per page 1 you’ll get only 1 item. By default wp query displays the last first by date, you can change this with the orderby argument. Check here.

while ($q->have_posts()){
            $q->the_post();
            the_title();
        }

Edit: if you’ll use this somewhere where you need your main loop after this code snippet, reset the loop with this:

wp_reset_postdata();