Steam for Linux is a little odd in how it handles a user clicking the close button. Instead of exiting the program or mimimizing the application to the system tray, it just minimizes it to the taskbar. The developers have said that this is temporary and that it will be changed in the future, but for now, there is a workaround.
To make Steam always minimize to the system tray, just add STEAM_FRAME_FORCE_CLOSE=1
to your environment.
For more information see the original GitHub issue.