Allegations have emerged that Liam Payne, a member of boy band One Direction, was struggling with his sexuality before his death last year.