Whitehouse police officer resigns following DWI arrest