Bail denied to man charged with shooting 2-year-old