Ben Stokes scores 42 but there are failures for the other England batters on the final day of their intra-squad Ashes warm-up match in Brisbane.