wp_enqueue_scripts are apearing inline rather than as links

You should not use relative URLs when enqueuing media items. Use the full URL instead.

There are two functions that can come in handy: get_theme_file_uri() and get_template_directory_uri().

So:

wp_enqueue_script( 'lightbox', get_theme_file_uri( '/js/lightbox.js' ) );

will be the correct syntax.