Don't serve locale-prefixed API paths from the 404 route check
The route resolution rejects filesystem matches for API paths carrying a
locale prefix, so the pre-404 filesystem check has to reject them too;
otherwise /en/api/hello serves the API route where routing returns 404.