Does the teacher know they're only playing for ten minutes a couple times per week? Honestly that's barely enough time to run through a known piece a couple of times, let alone hone in on something they need to improve on or try something new.
I would engage with the teacher on this. Explain that they're only playing 20m max between lessons across the week and ask if they have any tips for motivating them, or what they can suggest. Do they have a practice diary? They're so helpful. If you work with the teacher they can agree at the end of the lesson what the child will work on that week, mark it off each day when they've had a practice session, and then present it the following week. If they don't have it written down what to actually practice it's often quite hard for children to remember what they worked on, what they need to be working on, and have the discipline to do it!
You could even make it 'fun' by putting a chart up somewhere visible, and when they hit a run of a week practicing daily they get a small treat or something.
Something to think about: maybe rename practicing as playing. Practicing by the nature of the word suggests doing something you're not very good at or aren't great at to get better, whereas what they're actually doing is playing, regardless of how well or what they're working on. Maybe takes the chore aspect away by asking 'what did you play today?' rather than 'did you practice?'
At this age supervised practice sessions would be helpful, by a parent, if the teacher helps you with what to focus on. You could also try recording a practice session to share with the teacher and see what could be improved.
All this to say... if they really want to give up, I'd let them. They can always continue in the future as adults if they want to, and forcing someone to keep going with something they hate is a surefire way to entrench that hate!
I also think there's a lot to be said for picking up a social instrument too, maybe violin or flute, of course only if it's within your budget and time resources. Piano is amazing but it's often a very solitary pursuit, unless you get really, really good at it enough to start accompanying others or performing live or joining an orchestra, which would be in adulthood. If they learn something that means they can join some kind of band it's extremely motivating due to the social groups that form, trips away, performance. As a kid/teen I was in the orchestra as a violinist, the wind band as a flautist, and the piano just on my own in my bedroom! I wasn't a massively motivated musician and didn't play as much as I should have done, but having a place to go every week for a few hours with my friends to play together with some structure was a great experience. I even ended up going on tours around Italy and the Czech Republic, to this day I have excellent peripheral vision from the orchestra and ended up doing a degree in music.