A 31-year-old woman is assisting police after a child was found dead at a home west of Brisbane, sparking a homicide investigation.