A man who allegedly pursued and struck two 12-year-old boys with a ute in north-west Victoria has been granted bail.