England captain Joe Root and bowler James Anderson were part of a group told to disperse by Australian police following a noise complaint at the team hotel in Hobart.