Dad appears in court on charges after daughter, 7, struck by bullet inside home