Melt butter in a large Dutch oven over medium-high heat. Saute onion and garlic until onion is translucent, about 5 minutes. Add creamed corn and whole kernel corn with liquid. Cook, stirring occasionally, until bubbling, about 5 minutes. Add Cotija cheese; stir constantly until melted. Add cilantro, bacon, and chili powder. Reduce heat to medium-low; simmer until flavors are blended, about 30 minutes.