Lionel Messi's masterclass helped Inter Miami avoid a third first-round exit in four seasons, after falling to Atlanta last year and New York City in 2022.