You know I've got a real response to this, right? I mean, you had to expect that.
TLDR version:
The stuff you're pissed about isn't the stuff you're pissed about, and the blame for all of this lies squarely at JJ Abrams' (and whoever else was first brainstorming the new trilogy) feet. Assuming the writers actually care about having characters behave believably and in realistic ways (i.e., actually being able to write
characters instead of just caricatures or walking tropes), then this was the necessary result and any additional cheekiness is beside the point; what really bothers you was that Luke was
diminished, not that he was cheeky. And that's down to JJ setting that up.
Longer version:
So, Luke is snarky and grumpy and cheeky towards Rey. And this is played for laughs to some extent. I grant you that.
However, that really just boils down to a question of "
How will Luke behave towards here," not "
Why is Luke on this planet in the first place?"
In a way, Luke's initial behavior is a lot like Yoda's in ESB. He's goofy and silly and irreverent. And if we all showed up not knowing who Luke is (other than "famous Jedi warrior" or whatever), then we'd probably respond similarly. But we don't. We show up with preconceived notions of Luke, both in terms of the Luke we saw in the films, and in terms of the Luke we imagined in the future of the films (or read about in the EU, in some cases, which, again, remains
crap mostly

).
So, let's ask
why Luke is there in the first place. He is absolutely broken with guilt and shame, and a healthy dose of self-pity. He justifies this all by saying that the Jedi failed, that he failed, and that he'd only cause more harm than good. And now, let's ask why
that is? Not why does Luke feel ashamed. That part's pretty obvious, I think. But rather, why was Luke in that position in the first place?
It was, ultimately, an extra-narrative decision to sideline the OT heroes so they wouldn't overshadow the new heroes. The kids needed to save the day, not the retirees. (It's Star Wars, not Cocoon.) Buuuut we also "needed" to have those characters in the films. If you have those two requirements, then the end result is "The OT heroes are diminished." Their victory is undone. Their power and heroism proved insufficient to stop it. And now they're diminished and someone else needs to take up the mantle.
And that was it.
Alea iacta est. You were set up from the very beginning,
at least if you were going to actually honor the narrative you created. In other words, if you set up all these awful tragedies that reset the galaxy to "Basically the Empire again, and we need these kids to save us instead of the OT heroes" then you're either going to
ignore those, or you're going to honor them and play them out as they'd play out.
There's an approach that would basically ignore all of that stuff. It's probably what would have happened if JJ had also done the middle chapter. It'd have Rey show up and hand the lightsabre to Luke, and he'd respond with incredible gravitas (because, of course, he's the new mentor after all), and say something like "Come. We have much to do." And then you get a training montage and blah blah blah you know what comes next. Then he'd go with Rey and heroically die helping her or whatever, and it all just paints itself by numbers, right? But here's the thing: if Luke was ready to do all of that
why did he go to the isolated planet in the first place?
JJ doesn't care about that stuff when he's making films, because he's not making internally consistent, carefully designed stories with real characters; he's making roller-coaster rides. Damn fine ones, no question, but ultimately roller-coaster rides and that's it. His stories tend to be internally inconsistent and to not withstand even mild scrutiny. If he'd done the middle film, and it had gone as described above, that would leave the question "So how come he went there in the first place?!" In other words, if he's just going to turn right around as soon as Rey shows up and say "We have work to do" and get ready to go kick NuImperial ass....why'd he disappear to this planet at all? Even if he didn't kick ass, even if he pulled a Ben Kenobi and died to buy Rey time to do whatsit, the question would remain "If he was so willing to go with her and get back to being a hero, why the hell did he leave in the first place?!" But JJ would be like "NEVER MIND WE'RE MOVING ON TO THE NEXT HELTER-SKELTER ACTION SET PIECE!!!"
Instead, I would argue that once you put Luke on that planet, you
require that his reason for being there is a damn good one and one that he wouldn't just flip back on. Like, Luke's a hero. He's a guy who saved the galaxy multiple times. He redeemed Darth Vader and his involvement led to Palaptine's death! He had a duty to re-start the Jedi! So, why would he
ever say "Nah, I'm out. Off to Remote Planet X"?
Ultimately, there is no way to reconcile the stuff that JJ set up
and have it actually be meaningful, unless you give Luke genuine motivations. And once you do that, once you give him those motivations, if you're not a complete hack and actually care about the integrity of your story, you have to pay them off and honor them. He can't just turn on a dime, and his reasons have to be so serious that they would 100% sideline him as the First Order rises to power and Ben is out there just being all evil.
JJ stuck Luke on This Island Not-Earth at the end of TFA. The entire film is a chase to find out where he is. I would bet dollars to donuts that JJ....
had no idea why Luke was there. Or to the extent he did, it was a very thin reason. "He's distraught about the destruction of the Jedi order. There. That's the reason." Except it's not as simple as all of that
if you actually care about grounded characterization.
I would argue that, if anything, Rian Johnson showed great
respect for the franchise by actually accepting the circumstances that JJ gave him, and then writing a Luke that was entirely believable and consistent
with that set-up. He's sidelined for a real, very serious reason. It's not just "Oh I felt sad, but now that you're here, let's go! Hooray!" He's crippled with grief, shame, and self-pity and -loathing. He blames himself for all of the ills in the galaxy now, he's ashamed of his failures, and he just wants to hide away for the rest of his days. And all of
that is because of his own personal failure, where he -- for a split second -- actually contemplated killing his nephew to save the galaxy. (Basically the "Baby Hitler" thought exercise.) And it was that split second, that moment of weakness that he absolutely cannot ever take back that set in motion everything else. THAT is why he's on the planet, THAT is why he's bitter and hidden away. And THAT is why when he comes back at the very end it holds real meaning. Because we've seen the toll this all took on Luke. We've seen how it broke him and what it turned him into.
Basically, if you have a character who is as heroic as Luke was in the OT, to
fully sideline them, there needs to be something that
fundamentally changes their character. Of course Luke wasn't going to behave like the Luke you know! That's because JJ sidelined him. And the only way
that makes sense is if the reason for him being sidelined is something so awful that it fundamentally changed him. Because otherwise, the Luke you knew in the OT would have found a way to overcome it and keep fighting for good.
But he didn't. He left. And that demands an answer as to "Why?"
Rian Johnson took that assignment seriously and treated it with integrity. It's not his fault that JJ didn't ever bother to think through the consequences of his own extra-narrative decisions.
So, ultimately, that's why I don't really care that Luke's cheeky towards Rey. The real disappointment isn't "He drinks green milk from weird walrus-cows" or "he's a jerk and throws away his sabre." It's "Luke abandoned the position of 'hero' and left the galaxy to fend for itself. Why the hell would he do that?!" Johnson's answer is entirely reasonable and acceptable. The problem fans have is that there was a reason to ask that question in the first place. And that was set up before a single second of film was ever shot.