Man faced court over shooting allegedly linked to bikie gangs