I forgot to dilute my Lactulose solution and drank the water separately afterwards, does this matter?

Don't worry, it doesn't matter.

It doesn't matter if you drank the water separately, as the lactulose will still have been rinsed down into the stomach, which is what you need to do for the test.