Unruh-DeWitt detector differentiation of black holes and exotic compact objects