“I started realizing a general theme in a lot of the other songs involving my identity, anxieties, nostalgia, childhood and loneliness,” the actor and musician said about Happy Birthday, out June 6