Overcoming Knowledge Barriers: Online Imitation Learning from Observation with Pretrained World Models