How to add destination parameter in hook url_inbound_alter
For your particular problem (redirect an anonymous user to user/login), it can be better to redirect on form submit. So, on hook form_submit() you check whether user_is_logged_in(), if not drupal_goto('user/login').