Local Group star formation in warm and self-interacting dark matter cosmologies