Endogenous Non-Tradable Earnings and Households’ Demand for Risky Assets