Sharing: Use `photo` Twitter Card when `image` format and a featured image is set

See: #1102
I believe this should probably be `} else {` all on one line, by core coding style.