Weight in the rear of a dirtbike is useful in loose conditions, muddy or sandy. Otherwise the correct technique is weight forward while braking-- slide forward on the seat and lean forward slightly-- then slide back and sit upright at the corner exit to get better traction.
Rear wheel traction is not an issue on a road bicycle unless it's raining. Then you have traction problems front and rear.