President Donald Trump suggested that showing the execution of the Fort Hood shooter might deter others from similar acts