text: Title: Pass file path or function directly to `st.navigation`, without using `st.Page`
  Body: ### Checklist
  
  - [X] I have searched the [existing issues](https://github.com/streamlit/streamlit/issues) for similar feature requests.
  - [X] I added a descriptive title and summary to this issue.
  
  ### Summary
  
  When I write small test apps with multiple pages, I often find myself wanting to do something like this:
  
  ```python
  st.navigation(["page1.py", "page2.py"])
  
  # Or with functions:
  st.navigation([page1_func, page2_func])
  ```
  
  While this is totally plausible and I don't care about customizing the title or icon for these pages, Streamlit always forces me to wrap things in `st.Page`:
  
  ```python
  st.navigation([st.Page("page1.py"), st.Page("page2.py")]
  
  # Or with functions:
  st.navigation([st.Page(page1_func), st.Page(page2_func)])
  ```
  
  It would be great if we'd support the former!
  
  
  ### Why?
  
  Not a huge pain point but I regularly stumble over it. Especially because we show a pretty generic exception in this case and I'm confused why it doesn't just work. 
  
  ### How?
  
  _No response_
  
  ### Additional Context
  
  _No response_