West Ham United women's team secured their first Barclays Women's Super League victory of the 2024/25 campaign as they beat Leicester City 1-0 in front of their home fans.