You could ask this question in the Hokkien forum. There are some crazy Hokkien experts there. Lui is widely accepted as a Hokkien/Chinese word with proper chinese character, gold radical + lei (thunder).

I read somewhere saying verifying lui originally a Hokkien word. I couldn't find the source now but I will help you post the question in the HOkkien forum. YOu can have a look on the responses.

There are a lot of d sounds in Hokkien or cantonese. D shouldn't be a problem for us. There are no r sound in hokkien, so sometimes you will hear people teasing Mlaysian chinese can't pronounce r properly.

There are no d sound in cantonese/hokkien/mandarin. There are two "t" sound, one is "ting chu" - to support and "t'ing" - to stop. I am not using "Pin Yin" which is not accurate in describing the first t sound.

When our uneducated ancestors approximate sound they cannot reproduce, they will tend to make the closest sound. For example, the hokkien cannot produce the "f" sound, so they always go to become "h".

In case of foreign words, sometimes it is approximated to "l" and sometimes to "t".

In summary,

d, th, t and t' are all different sounds.

Malay does not have t' and th sound, so all their english pronounciation becomes t.

English does not have t sound, so they pronounce as t'.

Chinese does not have d and th sound, but those sounds are very similar but not the same as t. So you hear most malaysian chinese speaking "the" as "te".

As there are malaysian/singaporean chinese who migrated to canada, they could have influenced the chinese overseas.

But no, they are actually from the malay word "duit" which was also taken from the dutch word (someone in hokkien forum told me), you must look at the native speakers in hong kong. I have never heard my hong kong friends speak "lui" or cantonese serials speak "lui" unless they have a actor who comes from nanyang in the film and they purposely speak that word for "added" effect.