Landuse=whatever describes the main use of the land, so you need to decide if it is mainly residential or mainly forest so that the polygons don’t overlap.
Your first example seems clear enough, not sure about the second!
Perhaps you could propose a new tag, landuse=residential wooded=yes