A model structure on relative dg-Lie algebroids