Boy hit by baseball released from hospital