4D exotic Donaldson-Witten theory from 5D super-Yang-Mills