Three teenagers have led police on an hours-long chase through Perth's southern suburbs after allegedly breaking into homes and stealing dirtbikes.