Investigating the ultraviolet properties of gravity with a Wilsonian renormalization group equation