A firm's output is given by the Cobb-Douglas production function $$Y_t=X_tK_t^{\alpha_K} L_t^{\alpha_L}$$ where $\alpha_K\approx\frac{1}{3}$ is the capital share and $\alpha_L$ the labor share.
Question: By optimizing labor, is it possible to arrive at a profit function like $\Pi_t=Z_tK_t^\gamma$ which only depends on capial? I think the answer involves $\gamma=\frac{\alpha_K}{1-\alpha_L}$.
The firm's profit is output minus wage costs,$$\Pi_t=Y_t-wL_t$$ Assume labor is frictionless. Choosing $w$ to maximize profits and solving the FOC gives $w^*_t=\alpha_LX_tK_t^{\alpha_K} L_t^{\alpha_L-1}=\alpha_L\frac{Y_t}{L_t}$, which is the marginal product of labor. Thus, $$\Pi_t=(1-\alpha_L) Y_t=(1-\alpha_L) X_tK_t^{\alpha_K} L_t^{1-\alpha_L}$$But that is still not the answer to my question.