Discretising quantum field theory using wavelets