A Yorkshire-made film inspired by Donald Trump's so-called 'Muslim ban' has qualified to be considered for the 2025 Oscars.