It’s hard to imagine this is theft of services if they advertise free wi-fi and don’t secure their network. Yes, the guy probably should have gone in and ordered coffee.
It is stealing but it is questionable. SUppose your neighbor played great rock and roll on his stereo and you were danciing around your yard to his tunes,,would that be theft?
Or your neighbor watered his lawn and you got a bit of his water.