Everyone is mentioning recirculation systems which will solve your problem. Just keep in mind that if you are constantly circulating the water through your heater, you will also be constantly heating the water. So you will stop wasting water and start wasting heat instead. It won’t be a huge amount and you may live somewhere you need to heat your house anyway.
Did someone say Opposite Day?